package state.util.array;

import state.GameImage;

public class GameImageArray {
  public GameImage[] array;
  private int size;
  
  public static GameImageArray create(int len) {
    GameImage[] value1 = new GameImage[len];
    return new GameImageArray(value1, len);
  }
  
  public static void arraycopy(GameImageArray src, int srcPos, GameImageArray dest, int destPos, int length1) {
    System.arraycopy(src.array, srcPos, dest.array, destPos, length1);
  }
  
  public GameImageArray(GameImage[] value1, int length1) {
    array = value1;
    size = length1;
  }
  
  public int len() {
    return size;
  }
  
  public GameImage get(int i) {
    return array[i];
  }
  
  public void set(int i, GameImage obj) {
    array[i] = obj;
  }
  
  public void setArray(GameImage[] value1, int length1) {
    array = value1;
    size = length1;
  }
}
